Devices including phase inverters and phase mixers

ABSTRACT

Locked loops, delay lines, delay circuits, and methods for delaying signals are disclosed. An example delay circuit includes a delay line including a plurality of delay stages, each delay stage having an input and further having a single inverting delay device, and also includes a two-phase exit tree coupled to the delay line and configured to provide first and second output clock signals responsive to clock signals from inputs of the delay stages of the plurality of delay stages. Another example delay circuit includes a delay line configured to provide a plurality of delayed clock signals, each of the delayed clock signals having a delay relative to a previous delayed clock signal equal to a delay of a single inverting delay device. The example delay circuit also includes a two-phase exit tree configured to provide first and second output clock signals responsive to the delayed clock signals.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.13/734,745, filed on Jan. 4, 2013, which is a divisional of U.S. patentapplication Ser. No. 13/426,402, filed Mar. 21, 2012, issued as U.S.Pat. No. 8,368,448 on Feb. 5, 2013, which is a divisional of U.S. patentapplication Ser. No. 12/986,973, filed Jan. 7, 2011, issued as U.S. Pat.No. 8,149,034 on Apr. 3, 2012, which is a divisional of U.S. patentapplication Ser. No. 12/356,916, filed Jan. 21, 2009, issued as U.S.Pat. No. 7,872,507 on Jan. 18, 2011. These applications and patents areincorporated by reference herein, in their entirety, for any purpose.

TECHNICAL FIELD

This invention relates to delay lines and delay lock loops using delaylines, and, more particularly, in one or more embodiments, to a delayline providing improved linearity and duty cycle symmetry.

BACKGROUND OF THE INVENTION

A variety of circuits are included in integrated circuits, such asmemory devices. One such circuit is a delay lock loop (“DLL”), a typicalexample of which is shown in FIG. 1. The DLL 10 includes a delay line14, which, as explained in greater detail below, includes a large numberof gates coupled to each other in series. The delay line 14 receives areference clock signal CLK_(REF) and generates an output clock signalCLK_(OUT) having a delay relative to the reference clock signalCLK_(REF) that is controlled by a delay control signal DelCtrl. Thedelay control signal DelCtrl adjusts the delay provided by the delayline 14 by altering the number of gates through which the CLK_(REF) iscoupled. The DLL 10 also includes a phase detector 16 and delaycontroller 18 coupled to outputs of the phase detector 16 for adjustingthe delay of the delay line 14. The phase detector 16 compares the phaseof the reference clock signal CLK_(REF) to the phase of an output clocksignal CLK_(OUT) generated by delay line 14 to determine a phase error.The CLK_(OUT) signal is thus used as a feedback clock signal, althoughother signals derived from the CLK_(OUT) signal may instead be used asthe feedback clock signal. The feedback clock signal is coupled to theinput of phase detector though a model delay circuit 20. The model delaycircuit 20 delays the feedback clock signal by substantially the sum ofthe input delay of the CLK_(REF) signal being coupled to the phasedetector 16 and the output delay of the CLK_(OUT) signal being coupledfrom the delay line 14. As a result, the phase of the CLK_(OUT) signalis accurately synchronized to the phase of the CLK_(REF) signal. If thephase detector 16 is a digital phase detector, it typically generates anUP signal if the CLK_(OUT) signal leads the CLK_(REF) signal by morethan a first phase error. The delay controller 18 responds to the UPsignal by increasing the delay of the delay line 14 to reduce the phaseerror. Similarly, the phase detector 16 generates a DN signal if theCLK_(OUT) signal lags the CLK_(REF) signal by more than a second phaseerror. In that case, the delay controller 18 responds to the DN signalby decreasing the delay of the delay line 14 to again reduce the phaseerror. The phase detector 16 generates neither an UP signal nor a DNsignal if the magnitude of the phase error is between the first phaseerror and the second phase error.

The DLL 10 can be used for a variety of functions in a memory device andin other integrated circuit devices. For example, the DLL 10 can be usedin a memory device to perform such functions as synchronizing onesignal, such as a data strobe signal DQS, to another signal, such as anexternal clock signal as long as a delay in coupling the external clocksignal to the DLL10 and a delay in coupling the DQS signal from theDLL10 are compensated for by corresponding model delays in the feedbackpath of the DLL 10. The DQS signal can then be used to latch data at atime that is synchronized with the external clock signal.

The degree to which the DLL10 is able to lock the phase of the CLK_(OUT)signal to the phase of the CLK_(REF) signal is largely determined by thedelay adjustability of the delay line 14. If the delay of the delay line14 can only be adjusted in relatively coarse steps, the error betweenthe phase of the CLK_(OUT) signal and the phase of the CLK_(REF) signalcan be relatively large. For this reason, it is desirable for the delayline 14 to have a large number of gates or other delay devices. A largenumber of gates or other delay devices allows the delay of the delayline to be adjusted in a larger number of steps. For example, if thedelay line 14 has 72 delay stages, the delay line 14 can adjust thedelay of the delay line in approximately 5 degree steps (i.e., (360°minus delay of model delay circuits)/72). Although a large number ofgates or other delay devices provides a great deal of delayadjustability, it can also result in a large power consumption.

In order to allow the delay of a delay line to be adjusted in relativelyfine steps to provide high accuracy without consuming a significantamount of power, a phase mixer (not shown) can be used to interpolatebetween relatively coarse steps. Using a phase mixer, the CLK_(OUT)signal is delayed relative to the CLK_(REF) signal by the sum of thecoarse steps provided by the delay line and fine steps provided by thephase mixer. Significantly, the minimum step size is then the size of afine step.

Unfortunately, conventional DLLs using a combination of a delay line anda phase mixer to delay the CLK_(OUT) signal relative to the CLK_(REF)signal can suffer a number of performance limitations, primarily becausethe delay lines typically used have two inverting gates in each of aplurality of delay stages. As a result, the phase mixer must interpolateover a larger range in order to provide a given size of the fine step.Additionally, phase mixers interpolating over a large range oftenexhibit excessive non-linearity because the non-linearity of a phasemixer is normally a fixed percentage of the range over which the phasemixer interpolates. Thus, the larger coarse step provided by twoinverting gates can result in an undesirable degree of non-linearity.

There is therefore a need for a delay line that provides good duty cyclesymmetry, and that allows a phase mixer to interpolate over a relativelysmall range and provide good phase mixer linearity.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a conventional delay lock loop using adelay line to delay a reference clock signal.

FIG. 2 is a block diagram of a conventional delay lock loop using adelay line in combination with a phase mixer to delay a reference clocksignal.

FIG. 3 is a block diagram of a delay lock loop using a delay line incombination with a phase mixer according to one embodiment of theinvention.

FIG. 4 is a logic diagram of an embodiment of a phase inverter that maybe used in the delay lock loop of FIG. 3 or in some other delay lockloop.

DETAILED DESCRIPTION

A typical prior art DLL 30 using a delay line in combination with aphase mixer is shown in FIG. 2. The DLL 30 may include the same phasedetector 16 and model delay 20 used in the DLL 10 of FIG. 1. A delayline 50 included in the DLL 30 includes a plurality of delay stages 54a-d that are coupled to each other in series. The first delay stage 54 areceives the CLK_(REF) signal. Each of the delay stages 54 a-d includesa pair of series-coupled NAND gates 56, 58 and an exit NAND gate 60. TheNAND gates 56, 58 are enabled by respective EnNx signals applied to therespective delay stages 54. When enabled, each delay stage 54 couples aclock signal applied to the input of the delay stage 54 to the output ofthe delay stage. Each of the delay stages 54 in the delay line 50 alsoreceives a respective exit control signal ExitEnx, which enables therespective exit NAND gate 60 so that the gate 60 can couple a receivedclock signal to an input of an exit tree 70. The exit tree 70 includes apair of NAND gates 74, 76 coupled to the exit NAND gates 60 of the delayline as shown. The exit tree 70 applies two clock signals EvenOut andOddOut, which are delayed from each other by the delay of the two NANDgates 56, 58, to an input of a phase mixer 80. The phase mixer 80generates a feedback clock signal CLK_(FB) with a phase that isinterpolated between the delay between the EvenOut and OddOut signals.As with the DLL 10 of FIG. 1, the CLK_(FB) signal is applied to one ofthe inputs of the phase detector 16. The phase detector 16 responds to acomparison between the phase of the CLK_(REF) signal and the CLK_(FB)signal by selectively generating UP and DN signals.

In operation, a delay controller 84 includes conventional logic used togenerate delay control signals, such as EnNx signals, ExitEnx signals,and an INTER signal. For example, delay controller 84 could generatehigh EnNx signals that are applied to the NAND gates 56, 58 in a delaystage 54 selected in response to the UP and DN signals. The delaycontroller 84 also applies high EnNx signals to the respective NANDgates 56, 58 in all of the delay stages 54 upstream from the selecteddelay stage 54 and low EnNx signals to the respective NAND gates 56, 58in all of the delay stages 54 downstream from the selected delay stage54. As a result, the CLK_(REF) signal is coupled through the selecteddelay stage 54 and all of the delay stages 54 upstream from the selecteddelay stage 54. However, the CLK_(REF) signal is not coupled through thedelay stages 54 downstream from the selected delay stage 54 because thelow EnNx signals applied to these stages disable the NAND gates 56, 58in those stages, thereby avoiding power being wasted in these stages.

The delay controller 84 also applies a high ExitEnx signal to exit NANDgate 60 in the selected delay stage 54, and it applies respective lowExitENx signals to the exit NAND gate 60 in each of the other delaystages 54. The low ExitEnx signal applied to the NAND gate 60 in each ofthe remaining stages causes the NAND gate 60 to output a high, whichenables the NAND gates 74, 76 in the exit tree 70 so that the selecteddelay stage 54 can couple its input and output through the NAND gates74, 76. Thus, only the selected delay stage 54 is enabled to outputEvenOut and OddOut signals. In this manner, the delay controller 84selects one of the delay stages 54 in the delay line 50. The delaycontroller 84 also generates an INTER value that causes the phase mixer80 to interpolate between the EvenOut and OddOut signals to minimize thephase error determined by the phase detector 16. Therefore, the delayline 50 is used to apply a coarse adjustment to the delay of theCLK_(FB) signal, and the phase mixer 80 is used to interpolate withinthe coarse delay to apply a fine adjustment to the phase of theCLK_(OUT) signal.

The DLL 30 shown in FIG. 3 performs well in a variety of conventionalapplications, but nevertheless exhibits a variety of undesirable traitsand limitations. The problems with conventional DLLs, such as the DLL30,are due primarily to the fact that each delay stage in the delay line 50has two inverting gates 56, 58 to ensure good duty cycle control. Inmost inverting delay circuits, the transition from a first logic levelto a second logic level is faster than the transition from the secondlogic level back to the first logic level. As a result, if otherinverting logic elements, such as a single NAND gate and an inverter wasused for each delay stage, the NAND gate might have different rise andfall times than the inverter, which would be accumulated from all of thedelay stages, thereby resulting in duty cycle error, which would resultin the CLK_(FB) signal not having a 50% duty cycle. A deviation from aduty cycle of 50% can be particularly problematic for many applications.For example, a DQS signal is used in current memory devices to latchdata on both the rising edge and the falling edge of the DQS signal.Therefore, if the CLK_(OUT) signal does not have a 50% duty cycle and itis used to generate the DQS signal, the rising and falling edges of theDQS signal will generally not occur at the center of the period duringwhich the data to be latched are valid. Such skews that can occur in thetiming of the DQS signal relative to the data can thus prevent theproper data from being latched. The uses of two NAND gates 56, 58 ineach stage 54 of the delay line 50 avoids the problem of duty cycle skewbecause the signal applied to every stage always transitions both highand low on each transition of the signal before the signal is propagatedto the output of that stage.

The phase detector 16 shown in FIG. 2 has characteristics that limit theperformance of the DLL 30. First, the use of two NAND gates 56, 58 orother inverting delay devices for each stage limits the minimum size ofthe coarse step to the delay of two NAND gates. As a result, the phasemixer 80 must interpolate over a larger range in order to provide agiven size of the fine step. Second, two NAND gates 56, 58 or otherinverting delay devices for each stage provide a relatively large delaywhich can adversely affect the ability of the phase mixer 80 tolinearity adjust the delay of the delay line 50. To provide optimumperformance, the delay provided by the phase mixer 80 should be a linearfunction of the value of an interpolation signal so that the sizes ofall of the fine steps are equal to each other. Insofar as thenon-linearity of a phase mixer is normally a fixed percentage of therange over which the phase mixer interpolates, the larger coarse steprequired to cover two NAND gates 56, 58 or other inverting delay devicesresults in a greater degree of non-linearity.

A DLL 100 using a delay line 120 in combination with a phase mixer 110according to an embodiment of the invention is shown in FIG. 3. The DLL100 may use the same delay controller 84 used in the DLL 30, and it mayprovide the same EnNx and ExitEnx signals. Similarly, DLL 100 may usethe same exit tree 70 used in the DLL 30, and it may receive the sameExitEnx signals and output the EvenOut and OddOut* signals. Therefore,an explanation of the structure and operation of the delay controller 84and the exit tree 70 will not be repeated. The DLL 100 differs from theDLL 30 by using a delay line 120 that is different from the delay line50 used in the DLL 30, and it uses a phase inverter 130, which is notused in the DLL 30. Of course, a DLL according to other embodiments ofthe invention may have other differences from the DLL 30.

The delay line 120 includes a plurality of delay stages 124, each ofwhich includes only a single NAND gate 126, although other embodimentsmay use other inverting delay (e.g., logic) devices such as NOR gatesand inverters, to name two such delay devices. As a result, the size ofthe coarse step over which the delay of the delay line 120 is adjustedmay be approximately half the size of the coarse step of the delay line50 used in the prior art DLL 30. However, unlike the delay line 50, theoutput from each delay stage 124 of the delay line 120 is the delayedcomplement of the phase of the input to that delay stage 124. As aresult, the coarse step of the delay line 120 is the difference betweenthe phase shift through the NAND gate 126 and 180 degrees. The size ofthis coarse step would normally be significantly larger than the size ofthe coarse step provided by the delay line 50, and would thus defeat themajor advantage to using a single NAND gate 126 or other inverting delaydevice for each stage rather than two NAND gates 56, 58 for each stage54 as used in the delay line 50. The 180 degree phase shift could, ofcourse, be eliminated by using a non-inverting delay device in eachstage. But doing so would cause the delay devices in each of the delaystages to transition in the same direction. As a result, any differencein the time to transition between logic levels in opposite directions ineach delay stage would be magnified by the number of delay stages in thedelay line 120, which might result in the delay line creatingsubstantial duty cycle skew. For example, a rising edge transition of aninput signal applied to a delay line 120 containing only non-invertingdelay devices would result in all of the delay devices transitioningfrom high-to-low. On the next transition of the input signal, i.e., fromhigh to low, the non-inverting delay devices would all transition fromlow-to-high. If the low-to-high transition required more time than thehigh-to-low transition, the duty cycle of the input signal would beskewed by all of the delay devices, thus resulting in a significantdeviation from a 50% duty cycle.

The DLL 100 allows use of the delay line 120 with a single invertingdelay device in each stage by using the delay line 120 in combinationwith the phase inverter 130. As explained in greater detail below, thephase inverter 130 passes the EvenOut signal without inverting it andinverts the OddOut* signal to provide an OddOut signal that is no longerthe complement of the EvenOut signal. The phase inverter 130 can havethe same propagation delay for both the EvenOut signal and the OddOutsignal so that the phase of the EvenOut signal differs from the phase ofOddOut signal by only the propagation delay though one of the NAND gates126. As a result, the size of the coarse delay over which the phasemixer 110 is only approximately half the size of the coarse step overthe phase mixer 80 used in the DLL 30 must interpolate. Therefore, thelinearity of the phase mixer 110 used in the DLL 100 should besignificantly improved.

The delay line 120 used in the DLL 100 does invert the CLK_(REF) signalover an odd number of delay stages 124 to provide either the EvenOutsignal or the OddOut* signal. However, the mismatch between the numberof rising edge transitions of the CLR_(REF) signal compared to thenumber of falling edge transitions of the CLK_(REF) is a single leadingedge or rising edge transition. Therefore, for example, if there are 72delay stages 124, the CLK_(REF) may have a duty cycle that deviates from50% only to the extent of a disparity in the rise time and fall time ofa single delay stage 124.

A phase inverter 130 according to one embodiment of the invention isshown in FIG. 4. The phase inverter 130 includes a pair of seriescoupled inverters 140, 142, the first of which 140 receives the EvenOutsignal and the last of which generates one of the signals applied to thephase mixer. The OddOut signal is applied to the first of a series ofthree inverters 150, 152, 154. The final inverter 154 has its outputcoupled to the other input of the phase mixer 110 (FIG. 3). Insofar asthe OddOut signal is the complement of the EvenOut signal, the signalsoutput from the phase inverter 130 have the same phase in the samemanner that the phase mixer receives signals having the same phase inthe prior art circuit shown in FIG. 1. It may appear that the OddOutsignal would be delayed relative to the EvenOut signal by more than thedelay of one delay stage because the OddOut signal is inverted by threeinverters 150, 152, 154 while the EvenOut signal is inverted by only twoinverters 140, 142. However, transistors (not shown) in the inverters140, 142, 150, 152, 154 are fabricated with a size that causes thecollective delay of the two inverters 140, 142 to be equal to thecollective delay of the three inverters 150, 152, 154. As a result, thetransistors in the inverter 140 have different electricalcharacteristics from the transistors in the inverter 150, and they wouldtherefore load the respective signal lines coupled to their inputs todifferent degrees. To equalize the loads on each of these signal lines,an impedance compensating device, such as an extra inverter 160 havingthe same electrical characteristics as the inverter 150, is connected tothe input of the inverter 140. Similarly, an extra inverter 164 havingthe same electrical characteristics as the inverter 140 is connected tothe input of the inverter 150. As a result, both inputs to the phaseinverter 130 have the same input impedance. However, in otherembodiments of the phase inverter 130, the extra inverters 160, 164 arenot used. Also, of course, other embodiments of the phase inverter 130may use different designs.

Although the present invention has been described with reference to thedisclosed embodiments, persons skilled in the art will recognize thatchanges may be made in form and detail without departing from theinvention. For example, as explained above, the delay controller 84includes conventional logic that selectively applies EnNx signals to theNAND gates 56, 58 in each delay stage 54 to disable the delay stages 54downstream from a selected delay stage. However, in other embodiments ofthe delay line 50, the gates 56, 58 in all of the delay stages 54 may bepermanently enabled, particularly if power consumption is not an issue.In such cases, rather than using a permanently enabled gate, invertersmay be used in place of gates. Such modifications are well within theskill of those ordinarily skilled in the art. Accordingly, the inventionis not limited except as by the appended claims.

What is claimed:
 1. A device, comprising: a phase inverter configured toreceive a first signal from a delay line and receive a second signalfrom the delay line, the phase inverter configured to provide the firstsignal to a first output and configured to provide an inverted secondsignal to a second output; and a phase mixer coupled to the phaseinverter, the phase mixer configured to provide an output clock signalhaving a timing that is interpolated between the timing of the firstsignal and the timing of the inverted second signal.
 2. The device ofclaim 1, further comprising a delay line comprising a plurality of delaystages, wherein a delay stage of the plurality of delay stages includesa single inverting delay device, the delay line configured to providethe first signal from an input of a delay stage of the plurality ofdelay stages and configured to provide the second signal from an outputof the delay stage.
 3. The device of claim 2, wherein the singleinverting delay device is a NAND gate.
 4. The device of claim 2, whereinthe delay line is further configured to receive a reference clock signalat a first delay stage of the plurality of delay stages, wherein thefirst signal and the second signal are generated from the referenceclock signal.
 5. The device of claim 2, wherein a delay of the delaystage is approximately equal to delays of each of the other delay stagesof the plurality of delay stages.
 6. The device of claim 2, wherein thedelay line is configured to select the delay gate of the plurality ofdelay gates based on a delay control signal, wherein the delay controlsignal is generated based on the output signal.
 7. The device of claim1, further comprising a phase detector configured to receive a referenceclock signal and receive the output clock signal, the phase detectorconfigured to provide an output signal based on a difference in timingbetween the reference clock signal and the output clock signal.
 8. Thedevice of claim 7, further comprising a model delay coupled to the phasedetector, the model delay configured to provide the output clock signalto the phase detector after delaying the output clock signal.
 9. Adevice, comprising: a phase inverter configured to provide a firstsignal, the first signal based on a first received signal, the phaseinverter further configured to provide an inverted second signal, theinverted second signal based on a second received signal; and a phasemixer configured to receive the first signal and the inverted secondsignal, the phase mixer further configured to provide a clock signalhaving a timing that is based on the timing of the first signal and thetiming of the inverted second signal.
 10. The device of claim 9, furthercomprising a delay line coupled to the phase inverter, the delay lineconfigured to provide the first received signal and the second receivedsignal, wherein a phase of the first received signal differs from aphase of the second received signal by propagation delay of a singleinverting delay device.
 11. The device of claim 10, wherein the singleinverting delay device is a logic gate.
 12. The device of claim 9wherein the phase inverter comprises a plurality of inverters coupled inseries, a first inverter of the plurality of inverters configured toreceive the first received signal and a last inverter of the pluralityof inverters configured to provide the first signal.
 13. The device ofclaim 12, wherein the plurality of inverters comprises a first pluralityof inverters and wherein the phase inverter further comprises a secondplurality of inverters coupled in series, a first inverter of the secondplurality of inverters configured to receive the second received signaland a last inverter of the second plurality of inverters configured toprovide the inverted second signal.
 14. The device of claim 13, whereina number of the second plurality of inverters is different than a numberof the first plurality of inverters.
 15. The device of claim 14, whereina difference between the number of the second plurality of inverters andthe number of the first plurality of inverters is one.
 16. The device ofclaim 13, wherein the second plurality of inverters includes an oddnumber of inverters.
 17. The device of claim 13, wherein a propagationdelay through the second plurality of inverters is equal to apropagation delay through the first plurality of inverters.
 18. Adevice, comprising: a delay line comprising a delay stage, the delaystage having a single inverting element and the delay line configured toprovide first and second signals, wherein the first signal is providedfrom an input of the delay stage and the second signal is provided froman output of the delay stage; a phase inverter coupled to the delay lineand configured to provide a first delayed signal based on the firstsignal, the phase inverter further configured to provide an invertedsecond delayed signal based on the second signal; and a phase mixercoupled to the phase inverter and configured to provide a clock signalhaving a timing that is interpolated between the timing of the firstdelayed signal and the timing of the inverted second delayed signal. 19.The device of claim 18, wherein a delay of the first delayed signalrelative to the first signal is equal to a delay of the inverted seconddelayed signal relative to the second signal.
 20. The device of claim18, further comprising an exit tree coupled between the delay stage andthe phase inverter, the exit tree configured to couple the input of thedelay stage to the phase inverter and the output of the delay stage tothe phase inverter.